Skip to content

Conversation

@sahilds1
Copy link
Collaborator

@sahilds1 sahilds1 commented Oct 30, 2025

This PR is a follow up to PR #345 to make the chatbot public and is based on PR #377

  • User sees their own files + files uploaded by superusers

  • Unauthenticated users only see superuser-uploaded files

  • Chat storage location: sessionStorage with key "currentConversation"

  • Three ways the chat gets cleared

    • Manual clearing - The "New Conversation" button (+ icon) in the chat header
    • On logout - The logout action automatically clears it
    • Automatic clearing - When the browser tab/window closes (built-in sessionStorage behavior)

@sahilds1 sahilds1 self-assigned this Oct 30, 2025
@sahilds1 sahilds1 changed the base branch from listOfMed to 309-393-test-combined-prs November 12, 2025 22:16
@sahilds1 sahilds1 marked this pull request as ready for review November 12, 2025 22:18
@sahilds1 sahilds1 marked this pull request as draft November 12, 2025 22:19
@sahilds1 sahilds1 changed the title [WIP] [393] Make the chatbot public [#393] Make the chatbot public Nov 12, 2025
}
};

const handleSendDrugSummary = async (message: FormValues["message"], guid: string) => {
Copy link
Collaborator Author

@sahilds1 sahilds1 Nov 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes below here are formatting changes automatically made by Zed

@sahilds1 sahilds1 changed the title [#393] Make the chatbot public [#393] Allow unauthenticated users to use the chatbot Nov 12, 2025
@sahilds1 sahilds1 marked this pull request as ready for review November 13, 2025 20:20
@sahilds1 sahilds1 merged commit bae4e1c into CodeForPhilly:309-393-test-combined-prs Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant